package com.example.wangziqiao.myapplication.view;

import android.content.Context;
import android.support.v7.widget.CardView;
import android.util.AttributeSet;
import android.view.LayoutInflater;
import android.widget.ImageView;
import android.widget.TextView;

import com.example.wangziqiao.myapplication.R;

/**
 * Created by wangziqiao on 2016/4/7.
 */
public class MenuView extends CardView {

    private ImageView menuImg;
    private TextView menuText;


    public MenuView(Context context, AttributeSet attrs) {
        super(context, attrs);
        LayoutInflater.from(context).inflate(R.layout.menu_item,this,true);
    }
}
